package com.zenithsun.common.review.model;

/**
 * 审核总状态
 * @author wanglei@enersun.com.cn
 * @createTime 2016-06-17 10:39:15
 */
public enum ReviewState {

	/**
	 * 保存未提交审核
	 */
	SaveNotReview(0),
	
	/**
	 * 等待审核
	 */
	WaitReview(1),
	
	/**
	 * 审核不通过
	 */
	ReviewFail(2),
	
	/**
	 * 审核通过
	 */
	ReviewSuccess(3);
	private int _code;
	
	private ReviewState(int _code){
		this._code=_code;
	}
	
	@Override
	public String toString(){
		return String.valueOf(this._code);
	}
	
	public Short toShort(){
		return Short.valueOf(this.toString());
	}
}